package com.cdxy.enums.mq;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: tangy
 * @Date: 2020/6/10 11:33
 */
@AllArgsConstructor
@Getter
public enum RabbitExchangeEnum {
    /**
     * 交换机
     */
    BUSINESS("dead.test.business", "业务交换机"),
    DEAD_LETTER("deadLetter", "死信交换机"),

    DELAY_BUSINESS("delay.business", "延迟队列业务交换机"),
    DELAY_DEAD_LETTER("delay.deadLetter", "延迟队列死信交换机"),
    ;

    private String code;
    private String desc;
}
